﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title</title>
    <link rel="shortcut icon" href="/favicon.ico" />
    <link href="~/Resources/layui/css/layui.css" rel="stylesheet" />
    <link href="~/Resources/style/style.css" rel="stylesheet" />
    <link href="~/Resources/tooltipster/css/tooltipster.bundle.min.css" rel="stylesheet" />
    <link href="~/Resources/tooltipster/css/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-punk.min.css" rel="stylesheet" />
</head>
<body>
    @RenderBody()

    <script>
        var fileApiUrl = '@ViewBag.FileApiUrl';
        $('img').bind('error', function (event) {
            imgError(event);
        });
        function imgError(event) {
            $(event.target).attr('src', '/Resources/img/img_error.jpg');
            $(event.target).unbind('error');
        };
    </script>
</body>
</html>